
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import "./utils/mock.js"
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css';
import 'vant/es/toast/style';
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { Form, Field, CellGroup,Button } from 'vant';
import { Tab, Tabs } from 'vant';
import { Toast } from 'vant';
const app = createApp(App)


for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(ElementPlus)
app.use(createPinia())
app.use(router)
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Button);
app.use(Tab);
app.use(Tabs);
app.use(Toast);
app.mount('#app')

